<template>
  <view class="Search">
    <uni-search-bar
      class="uni-mt-10"
      radius="20"
      placeholder="搜索职位"
      clearButton="auto"
      cancelButton="none"
      @confirm="search"
    />
    <image src="../../static/img/组件 214 – 1.png" class="img"></image>
  </view>
</template>

<script>
export default {
  name: "search",
  method: {
    changeRoute() {
      uni.switchTab({
        url: "/pages/findwork/findwork",
      });
    },
  },
};
</script>

<style>
.Search {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
}
.uni-mt-10 {
  width: 320px;
  margin-left: 30px;
}
.img {
  width: 30px;
  height: 30px;
}
</style>